// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP 
 

:FIGHT


wait 0 
if and
0ADC:   test_cheat "fixafmeia"
056D:   actor $SECOND_PLAYER_ACTOR defined




jf @FIGHT
0631: put_actor $SECOND_PLAYER_ACTOR in_group $PLAYER_GROUP 
07CB: set_actor $SECOND_PLAYER_ACTOR supporting_fire 1 
0A20: disable_player $PLAYER_CHAR group_control_back 1
0ACB: show_styled_text "CPU controlled ~b~Player 2~w~ will kill you" time 2500 style 4
0631: put_actor $SECOND_PLAYER_ACTOR in_group $PLAYER_GROUP 
07CB: set_actor $SECOND_PLAYER_ACTOR supporting_fire 1 
0A20: disable_player $PLAYER_CHAR group_control_back 1
0946: set_actor $SECOND_PLAYER_ACTOR actions_uninterupted_by_weapon_fire 1
02E2: set_actor $SECOND_PLAYER_ACTOR weapon_accuracy_to 100
07DD: set_actor $SECOND_PLAYER_ACTOR attack_rate 100 // previously known as temper_to 
06C9: remove_actor $SECOND_PLAYER_ACTOR from_group
060F: set_actor $SECOND_PLAYER_ACTOR melee_accuracy_to 100.0
05D9: AS_actor $SECOND_PLAYER_ACTOR run_to_actor $PLAYER_ACTOR timelimit 5000000 stop_within_radius 1.5
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 1
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 6
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 0
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 5
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 4
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 2
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 3
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 7
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 8
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 9
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 10
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 11
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 12
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 13
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 14
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 15
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 16
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 24
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 25
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 26
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 27
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 28
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 29
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 30
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 31
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 17
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 18
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 19
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 20
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 21
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 22
0746: set_acquaintance 4 of_actors_pedtype 1   to_actors_pedtype 23
//0850: AS_actor $SECOND_PLAYER_ACTOR follow_actor $PLAYER_ACTOR 
05E2: AS_actor $SECOND_PLAYER_ACTOR kill_actor $PLAYER_ACTOR  
actor.SetWalkStyle($SECOND_PLAYER_ACTOR, "PLAYER")
Actor.Health($SECOND_PLAYER_ACTOR) = 99999
actor.AddArmour($SECOND_PLAYER_ACTOR, 99999)
actor.SetMaxHealth($SECOND_PLAYER_ACTOR, 99999) 

:ATTACK_RESET
wait 0 
if and
0ADC:   test_cheat "fight"
056D:   actor $SECOND_PLAYER_ACTOR defined
//0AB0:   key_pressed 16
//0AB0:   key_pressed 17 
//0AB0:   key_pressed 34  
//else_jump @JUMP_DETECTION

//jf @ATTACK_RESET
0ACD: show_text_highpriority "CPU controlled ~b~Player 2~w~ reseted" time 3000

jump @FIGHT




:P2_MESSAGE
0ACD: show_text_highpriority "You killed ~b~Player 2~w~" time 3000


jump @FIGHT
{0631: put_actor $SECOND_PLAYER_ACTOR in_group $PLAYER_GROUP 
07CB: set_actor $SECOND_PLAYER_ACTOR supporting_fire 1 
0A20: disable_player $PLAYER_CHAR group_control_back 1
06C9: remove_actor $SECOND_PLAYER_ACTOR from_group
060F: set_actor $SECOND_PLAYER_ACTOR melee_accuracy_to 100.0
05E2: AS_actor $SECOND_PLAYER_ACTOR kill_actor $PLAYER_ACTOR 
0946: set_actor $SECOND_PLAYER_ACTOR actions_uninterupted_by_weapon_fire 1
02E2: set_actor $SECOND_PLAYER_ACTOR weapon_accuracy_to 100
05D9: AS_actor $SECOND_PLAYER_ACTOR run_to_actor $PLAYER_ACTOR timelimit 5000000 stop_within_radius 1.0
07DD: set_actor $SECOND_PLAYER_ACTOR attack_rate 100 // previously known as temper_to}  
//jump @FIGHT

//jump @MUSIC_9    

